POV-Ray : Newsgroups : povray.advanced-users : Vector Math Problem : Re: Vector Math Problem Server Time
29 Jul 2024 10:26:12 EDT (-0400)
  Re: Vector Math Problem  
From: Warp
Date: 6 Jan 2003 08:40:15
Message: <3e19873f@news.povray.org>
Tor Olav Kristensen <tor### [at] hotmailcom> wrote:
>>> M = (Pa+Pb)/2
>>
>>  Just for the sake of curiosity: This is also called average. :)

> Warp, I'm a little curious too:
> Can you explain how it makes sense to
> calculate the average of two points ?

  It makes perfect sense: The average of two numbers is the number which is
exactly in the middle of them. In the same way the average of two points is
the point which is exactly in the middle of them.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.